package duylinh

class Album  implements Serializable {

    static hasMany = [fotos:Foto]
    String title
    String description
    User    uploader

    Date    dateCreated
    Date    lastUpdated

    static constraints = {
        title(nullable: true, maxSize:100)
        dateCreated(nullable: true)
        description(nullable:true)
    }
}
